import axios from '@/libs/api.request'
/* 会员商家列表 */
export const memberonelist = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcmembers/memberonelist',
    type: 'post',
    data: data
  })
}
/* 会员商家详情 */
export const memberdetail = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcmembersdetail/memberdetail',
    type: 'post',
    data: data
  })
}
/* 门店列表 */
export const storeslist = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcstores/storeslist',
    type: 'post',
    data: data
  })
}
/* 担保存商家列表 */
export const businesslist = () => {
  return axios.request({
    url: '/api/us/ctc/ctcbusinessdan/businesslist',
    type: 'get'
  })
}
/* 担保存商家列表余额 */
export const userbusinessbalancelist = () => {
  return axios.request({
    url: '/api/us/ctc/ctcbalance/getuserbalancelist',
    type: 'get'
  })
}
/* 担保存余额 */
export const balance = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcbalance/balance',
    type: 'post',
    data: data
  })
}
/* 担保存余额明细 */
export const balancedetaillist = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcbalancedetail/balancedetaillist',
    type: 'post',
    data: data
  })
}
/* 惠多多优惠券 */
export const couponlist = () => {
  return axios.request({
    url: '/api/us/ctc/ctccouponreceive/couponlist',
    type: 'get'
  })
}
/* 领取优惠券 */
export const saveRecive = (data) => {
  return axios.request({
    url: '/api/uc/ctc/CtcCouponReceiveService/saveRecive',
    type: 'post',
    data: data
  })
}
/* 查询优惠券 */
export const selectCoupon = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctccouponreceive/selectCoupon',
    type: 'post',
    data: data
  })
}
export const SelectCouponInfo = (data) => {
  return axios.request({
    url: '/api/uc/ctc/CtcCouponReceiveService/SelectCouponInfo',
    type: 'post',
    data: data
  })
}
/* 保障类型列表 */
export const guaranteeList = () => {
  return axios.request({
    url: '/api/us/ctc/ctcguaranteeplan/guaranteeList',
    type: 'get'
  })
}
/* 产品特色列表 */
export const characteristicList = () => {
  return axios.request({
    url: '/api/us/ctc/ctcguaranteeplan/characteristicList',
    type: 'get'
  })
}
/* 相关推荐列表 */
export const recommendList = () => {
  return axios.request({
    url: '/api/us/ctc/ctcguaranteeplan/recommendList',
    type: 'get'
  })
}
export const informationInsert = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcguaranteeplan/informationInsert',
    type: 'post',
    data: data
  })
}
export const CarOfferInsert = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcguaranteeplan/CarOfferInsert',
    type: 'post',
    data: data
  })
}
/* 用医保测试接口 */
export const createUserYiBao = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcYiBao/createUserYiBao',
    type: 'post',
    data: data
  })
}
